{"ast":null,"code":"import classNames from 'classnames';\nimport RcCollapse from 'rc-collapse';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport warning from '../_util/warning';\nconst CollapsePanel = props => {\n  process.env.NODE_ENV !== \"production\" ? warning(!('disabled' in props), 'Collapse.Panel', '`disabled` is deprecated. Please use `collapsible=\"disabled\"` instead.') : void 0;\n  const {\n    getPrefixCls\n  } = React.useContext(ConfigContext);\n  const {\n    prefixCls: customizePrefixCls,\n    className = '',\n    showArrow = true\n  } = props;\n  const prefixCls = getPrefixCls('collapse', customizePrefixCls);\n  const collapsePanelClassName = classNames({\n    [`${prefixCls}-no-arrow`]: !showArrow\n  }, className);\n  return /*#__PURE__*/React.createElement(RcCollapse.Panel, Object.assign({}, props, {\n    prefixCls: prefixCls,\n    className: collapsePanelClassName\n  }));\n};\nexport default CollapsePanel;","map":{"version":3,"names":["classNames","RcCollapse","React","ConfigContext","warning","CollapsePanel","props","process","env","NODE_ENV","getPrefixCls","useContext","prefixCls","customizePrefixCls","className","showArrow","collapsePanelClassName","createElement","Panel","Object","assign"],"sources":["/data/messenger.client/node_modules/antd/es/collapse/CollapsePanel.js"],"sourcesContent":["import classNames from 'classnames';\nimport RcCollapse from 'rc-collapse';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport warning from '../_util/warning';\nconst CollapsePanel = props => {\n  process.env.NODE_ENV !== \"production\" ? warning(!('disabled' in props), 'Collapse.Panel', '`disabled` is deprecated. Please use `collapsible=\"disabled\"` instead.') : void 0;\n  const {\n    getPrefixCls\n  } = React.useContext(ConfigContext);\n  const {\n    prefixCls: customizePrefixCls,\n    className = '',\n    showArrow = true\n  } = props;\n  const prefixCls = getPrefixCls('collapse', customizePrefixCls);\n  const collapsePanelClassName = classNames({\n    [`${prefixCls}-no-arrow`]: !showArrow\n  }, className);\n  return /*#__PURE__*/React.createElement(RcCollapse.Panel, Object.assign({}, props, {\n    prefixCls: prefixCls,\n    className: collapsePanelClassName\n  }));\n};\nexport default CollapsePanel;"],"mappings":"AAAA,OAAOA,UAAU,MAAM,YAAY;AACnC,OAAOC,UAAU,MAAM,aAAa;AACpC,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAASC,aAAa,QAAQ,oBAAoB;AAClD,OAAOC,OAAO,MAAM,kBAAkB;AACtC,MAAMC,aAAa,GAAGC,KAAK,IAAI;EAC7BC,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY,GAAGL,OAAO,CAAC,EAAE,UAAU,IAAIE,KAAK,CAAC,EAAE,gBAAgB,EAAE,wEAAwE,CAAC,GAAG,KAAK,CAAC;EAC5K,MAAM;IACJI;EACF,CAAC,GAAGR,KAAK,CAACS,UAAU,CAACR,aAAa,CAAC;EACnC,MAAM;IACJS,SAAS,EAAEC,kBAAkB;IAC7BC,SAAS,GAAG,EAAE;IACdC,SAAS,GAAG;EACd,CAAC,GAAGT,KAAK;EACT,MAAMM,SAAS,GAAGF,YAAY,CAAC,UAAU,EAAEG,kBAAkB,CAAC;EAC9D,MAAMG,sBAAsB,GAAGhB,UAAU,CAAC;IACxC,CAAE,GAAEY,SAAU,WAAU,GAAG,CAACG;EAC9B,CAAC,EAAED,SAAS,CAAC;EACb,OAAO,aAAaZ,KAAK,CAACe,aAAa,CAAChB,UAAU,CAACiB,KAAK,EAAEC,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAEd,KAAK,EAAE;IACjFM,SAAS,EAAEA,SAAS;IACpBE,SAAS,EAAEE;EACb,CAAC,CAAC,CAAC;AACL,CAAC;AACD,eAAeX,aAAa"},"metadata":{},"sourceType":"module"}